# 为了统一内部的数据格式，
import os

current_file_path = os.path.abspath(__file__)
project_dir = os.path.dirname(os.path.dirname(current_file_path))
# 每个微信的配置文件  文件夹，
users_config_dir = os.path.join(project_dir, 'users')
# print(users_config_dir)



keywords_puyang_csvpath = "./resource/keywords_puyang.csv"

# 点击 按钮，免打扰，保存到通讯录，最长时间，
WeixinTest_button_timeout = 40

# meizu m6 手机的log

file_log = os.path.join(project_dir, "log")
# print(debug_file_log)



friend_info_dict = {
    "nick_name": "",
    "friend_serialno": 0,
    "wx_alias": "",
    "wxid": "",
    "area": "",
    "tag_id": "",
    "update_time": "",
    "status": 1,
    "frequency": 0,
    "company": "",
    "active": "",
}


room_info_dict = {
    "tag_id": 0,
    'room_serialno': 0,
    "room_alias": "",
    "room_name": "空",
    "roomid": "",
    "roomowner_alias": "",
    "roomowner_nick": "空",
    "roomowner_wxid": "",
    "roomowner_area": "",
    "roomtype": 0,
    "company": "",
    "members_total": 0,
    'update_time': 0,
    'update_time_text': "",
    "status": 1,
    "area": 0
}

update_room_state_dict = {
    "tag_id": 0,
    "room_alias": "",
    "update_time": 0,
    "update_time_text": "",
    "status": 1
}

# 群发广告任务，结果信息，
task_record_info = {
    "tag_id": 0,
    "task_id": 0,
    "room_alias": "",
    "update_time": 0,
    "update_time_text": "",
    "status": 0
}

update_rooms_tasks_info = {
    "tag_id": 0,
    "task_id": 0,
    "update_time": 0,
    "update_time_text": "",
    "status": 0
}